package com.ruoyi.project.jxy.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

/**
 * 技能对象 tb_skill
 *
 * @author ruoyi
 * @date 2019-12-06
 */
public class Skill {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */

    private Long id;

    /**
     * 技能类型  0私有技能   1公有技能.
     */
    @Excel(name = "技能类型  0私有技能   1公有技能.")
    private Long skillType;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String name;

    /**
     * 英文标识
     */
    @Excel(name = "英文标识")
    private String code;

    /**
     * 技能分类
     */
    @Excel(name = "技能分类")
    private Long type;

    /**
     * 构建状态 0 未构建 1 已构建
     */
    @Excel(name = "构建状态 0 未构建 1 已构建")
    private String status;

    /**
     * 技能描述
     */
    @Excel(name = "技能描述")
    private String description;

    /**
     * 技能图标
     */
    @Excel(name = "技能图标")
    private String logo;

    /**
     * 创建时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private String createUser;

    /**
     * 更新时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;

    /**
     * 更新人
     */
    @Excel(name = "更新人")
    private String updateUser;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setSkillType(Long skillType) {
        this.skillType = skillType;
    }

    public Long getSkillType() {
        return skillType;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setType(Long type) {
        this.type = type;
    }

    public Long getType() {
        return type;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getLogo() {
        return logo;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("skillType", getSkillType())
                .append("name", getName())
                .append("code", getCode())
                .append("type", getType())
                .append("status", getStatus())
                .append("description", getDescription())
                .append("logo", getLogo())
                .append("createTime", getCreateTime())
                .append("createUser", getCreateUser())
                .append("updateTime", getUpdateTime())
                .append("updateUser", getUpdateUser())
                .toString();
    }
}
